/*
 * test_template.c
 *
 *  Created on: 2011-11-16
 *      Author: Jesse Meng [pingf0@gmail.com]
 */
#include "OOStd.h"
CLASS_TP(A){
	int a;
};
int a_reload(void *__OOC_THIS,void *__OOC_PARAMETER){
	printf("%s\n",__FUNCTION__);
	return 0;
}
int a_unload(void *__OOC_THIS,void *__OOC_PARAMETER){
	printf("%s\n",__FUNCTION__);
	return 0;
}
ASM_TP(A,a_reload,a_unload)


CLASS_TP(B){
	int b;
};
int b_reload(void *__OOC_THIS,void *__OOC_PARAMETER){
	printf("%s\n",__FUNCTION__);
	return 0;
}
int b_unload(void *__OOC_THIS,void *__OOC_PARAMETER){
	printf("%s\n",__FUNCTION__);
	return 0;
}
ASM_TP(B,b_reload,b_unload)

CLASS_BIND(A,B)
ASM_BIND(A,B)

int main(){
	A *a=NEW0(A);
	DELETE0(a);
	return 0;
}
